package com.xiaoheyue.ingresspractice;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalTime;

@RestController
@RequestMapping("/Ingress")
public class HelloController {

    @RequestMapping("/hello")
    public String hello() {
        System.out.println("hello Ingress = " + LocalTime.now());
        return "Hello Ingress!";
    }
}
